"""
    系统管理页面元素
"""

# -----------------系统管理项---------------------------------
SYSTEMMANAGE = ".nav-gear"
SYS_M = "#J_systemTree > ul:nth-child(1) > li:nth-child(1) > div:nth-child(1) > span:nth-child(2)"
PLATELEMENT = "#J_systemTree > ul:nth-child(1) > li:nth-child(1) > ul:nth-child(2) > li:nth-child(1) > a:nth-child(1) > em:nth-child(1)"
PLATFRAME = "#J_systemTab > div:nth-child(1) > div:nth-child(2) > div:nth-child(1) > iframe:nth-child(1)"
PLATDATA = ".row"
CLOSE_PLAT = "#J_systemTab > div:nth-child(1) > div:nth-child(1) > div:nth-child(2) > div:nth-child(1) > ul:nth-child(1) > li:nth-child(1) > div:nth-child(2) > s:nth-child(2)"
# -----------------系统管理项----------------------------------

# -----------------更新管理项----------------------------------
# -----------------增加更新
UPDATEMANAGE = "#J_systemTree > ul:nth-child(1) > li:nth-child(2) > div:nth-child(1)"
ADDUPDATE = "#J_systemTree > ul:nth-child(1) > li:nth-child(2) > ul:nth-child(2) > li:nth-child(1) > a:nth-child(1) > em:nth-child(1)"
UPDATEFRAME = "#J_systemTab > div:nth-child(1) > div:nth-child(2) > div:nth-child(1) > iframe:nth-child(1)"
UPDATEDATA = ".row"
CLOSEADDDATE = "#J_systemTab > div:nth-child(1) > div:nth-child(1) > div:nth-child(2) > div:nth-child(1) > ul:nth-child(1) > li:nth-child(1) > div:nth-child(2) > s:nth-child(2)"
# -----------------增加更新

# -----------------APP更新历史
APPUPDATEHISTORY = "li.menu-second:nth-child(2) > ul:nth-child(2) > li:nth-child(2) > a:nth-child(1) > em:nth-child(1)"
APPUPDATEFRAME = "#J_systemTab > div:nth-child(1) > div:nth-child(2) > div:nth-child(1) > iframe:nth-child(1)"
APPUPDATEHISTORYDATA = ".row"
CLOSEAPPUPDATEHISTORY = "#J_systemTab > div:nth-child(1) > div:nth-child(1) > div:nth-child(2) > div:nth-child(1) > ul:nth-child(1) > li:nth-child(1) > div:nth-child(2) > s:nth-child(2)"
# -----------------APP更新历史

# -----------------PC更新历史
PCUPDATEHISTORY = "li.menu-second:nth-child(2) > ul:nth-child(2) > li:nth-child(3) > a:nth-child(1) > em:nth-child(1)"
PCUPDATEFRAME = "#J_systemTab > div:nth-child(1) > div:nth-child(2) > div:nth-child(1) > iframe:nth-child(1)"
PCUPDATEDATA = ".row"
CLOSEPCUPDATE = "#J_systemTab > div:nth-child(1) > div:nth-child(1) > div:nth-child(2) > div:nth-child(1) > ul:nth-child(1) > li:nth-child(1) > div:nth-child(2) > s:nth-child(2)"
# -----------------PC更新历史

# -----------------PC更新历史
TVUPDATAHISTOTRY = "li.menu-leaf:nth-child(4) > a:nth-child(1) > em:nth-child(1)"
TVUPDATEFRAME = "#J_systemTab > div:nth-child(1) > div:nth-child(2) > div:nth-child(1) > iframe:nth-child(1)"
TVUPDATEDATA = ".row"
CLOSETVUPDATA = "#J_systemTab > div:nth-child(1) > div:nth-child(1) > div:nth-child(2) > div:nth-child(1) > ul:nth-child(1) > li:nth-child(1) > div:nth-child(2) > s:nth-child(2)"
# -----------------PC更新历史
# -----------------更新管理项----------------------------------

# -----------------角色管理----------------------------------
# -----------------添加角色
ROLEMANAGE = "li.menu-second:nth-child(3) > div:nth-child(1) > span:nth-child(2)"
ROLEADD = "li.menu-second:nth-child(3) > ul:nth-child(2) > li:nth-child(1) > a:nth-child(1) > em:nth-child(1)"

# -----------------角色管理----------------------------------
